TARGET	 = ../qsqlmysqle

HEADERS		= qsql_mysqle.h
SOURCES		= main.cpp \
		  qsql_mysqle.cpp

unix: {
    isEmpty(QT_LFLAGS_MYSQL) {
        !contains(LIBS, .*mysqld.*) {
            use_libmysqlclient_r:LIBS *= -lmysqld
            else:LIBS *= -lmysqld
        }
    } else {
        LIBS *= $$QT_LFLAGS_MYSQL
        QMAKE_CXXFLAGS *= $$QT_CFLAGS_MYSQL
    }
}

win32:!contains(LIBS, .*mysqld.*) {
    LIBS     *= -llibmysqld    
}

LIBS += $$system(mysql_config --libs)

include(../qsqldriverbase.pri)
